import mutations from './mutations'
import actions from './actions'

const state = {
  cartlist: [], // 采购清单的数据
  cartlength: 0, // 采购商品条数
  shopCartId: '', // 当前购物车id
  selectedIds: '', // 购物车中选中货品的id {String} "1,2,3,4,5"
  selectedProList: null, // 确认购物车里的货品列表
  limitArr: null, // 限购商品 [{pid: XX, num: XX}]
  activityArr: [], // 活动商品 [{pid: XX, num: XX}]
  shopcartnum: 0,
  shopcartIds: null // 购物车的ids组合
}
export default {
  state,
  actions,
  mutations
}
